package com.zf.yichat.dto;

import com.zf.yichat.model.StTicketMarket;

import javax.persistence.Column;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

public class TicketMarketDto {

    @Id
    private Integer id;

    private Integer userTicketId;

    private String userId;

    private String userNick;

    private String userAvatar;

    private String ticketTitle;

    private BigDecimal ticketPrice;

    /**
     * 0 已上架  1 已下架  2 已出售  3 立即购买
     */
    private Integer status;

    private Date onSaleTime;

    private Date offSaleTime;

    private Date soldTime;


    private TicketsDto ticket;

    public TicketsDto getTicket() {
        return ticket;
    }

    public void setTicket(TicketsDto ticket) {
        this.ticket = ticket;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserTicketId() {
        return userTicketId;
    }

    public void setUserTicketId(Integer userTicketId) {
        this.userTicketId = userTicketId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserNick() {
        return userNick;
    }

    public void setUserNick(String userNick) {
        this.userNick = userNick;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public String getTicketTitle() {
        return ticketTitle;
    }

    public void setTicketTitle(String ticketTitle) {
        this.ticketTitle = ticketTitle;
    }

    public BigDecimal getTicketPrice() {
        return ticketPrice;
    }

    public void setTicketPrice(BigDecimal ticketPrice) {
        this.ticketPrice = ticketPrice;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getOnSaleTime() {
        return onSaleTime;
    }

    public void setOnSaleTime(Date onSaleTime) {
        this.onSaleTime = onSaleTime;
    }

    public Date getOffSaleTime() {
        return offSaleTime;
    }

    public void setOffSaleTime(Date offSaleTime) {
        this.offSaleTime = offSaleTime;
    }

    public Date getSoldTime() {
        return soldTime;
    }

    public void setSoldTime(Date soldTime) {
        this.soldTime = soldTime;
    }
}
